
cmake_minimum_required(VERSION 2.8)

PROJECT(OctreeTimingDemo)

find_package(VTK REQUIRED)
include(${VTK_USE_FILE})

add_executable(OctreeTimingDemo MACOSX_BUNDLE OctreeTimingDemo)

if(VTK_LIBRARIES)
  target_link_libraries(OctreeTimingDemo ${VTK_LIBRARIES})
else()
  target_link_libraries(OctreeTimingDemo vtkHybrid vtkWidgets)
endif()
